export default function(time){
    const date = new Date(+time);
  const year = date.getFullYear();
  const month = date.getMonth();
  const day = date.getDate();

  return   `${year}-${month+1}-${day}`
}